<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>修改密码</title>
    <link rel="stylesheet" href="../assets/css/common.css">
    <link rel="stylesheet" href="../assets/css/app.css">
    <link rel="icon" type="image/x-icon" href="../assets/images/logo.png">
</head>
<body>
    <div class="page login">
        <div class="login-form">
            <div class="login-title">修改密码</div>
            <input class="input login-input login-password" id="oldPwd" type="password" placeholder="请输入原密码">
            <input class="input login-input login-password" id="newPwd" type="password" placeholder="请输入新密码">
            <input class="input login-input login-password" id="newPwd1" type="password" placeholder="请再输入新密码">
            <div id="error" class="error" style="margin-top: 10px;"></div>
            <input id="publicKey" type="hidden" th:value="${publicKey}">
            <button type="submit" class="btn btn__primary login-btn" onclick="updatePwd()">修改</button>
        </div>
        <input id="publicKey" type="hidden" th:value="${publicKey}">
    </div>
   <script src="../assets/js/jquery.min.js"></script>
   <script src="../assets/js/encrypt.js"></script>
   <script src="../assets/js/changePwd.js"></script>
</body>
</html>